package com.sqx.modules.creation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024年09月06日
 */
@Data
@Accessors(chain = true)
@TableName("n_creation_comment")
public class NCreationComment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 创作评论id
     */
    @TableId(value = "creation_comment_id", type = IdType.AUTO)
    private Integer creationCommentId;

    @TableField("user_id")
    private Integer userId;


    /**
     * 创作id
     */
    @TableField("creation_id")
    private Integer creationId;

    /**
     * 评论内容
     */
    @TableField("comment_content")
    private String commentContent;

    /**
     * 点赞数
     */
    @TableField("good_num")
    private Integer goodNum;


    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;


}
